﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OudotOliotSMLiigassa
{
    class Player : League
    {
        private string firstName;
        private string lastName;
        private decimal price;
        private int ID;

        public Player()
        {
            setLName("");
            this.firstName = "";
            this.lastName = "";
            this.price = 0;
            this.ID = 0;
        }

        public Player(string fName, string lName, decimal price, string league, int id)
        {
            setLeagueName(league);
            this.firstName = fName;
            this.lastName = lName;
            this.price = price;
            this.ID = id;
        }

        public string getFName()
        {
            return this.firstName;
        }

        public string getLName()
        {
            return this.lastName;
        }

        public decimal getPrice()
        {
            return this.price;
        }

        public int getID()
        {
            return this.ID;
        }

        public Player getPlayer()
        {
            return this;
        }

        public void setFName(string fName)
        {
            this.firstName = fName;
        }

        public void setLName(string lName)
        {
            this.lastName = lName;
        }

        public void setPrice(decimal price)
        {
            this.price = price;
        }
    }
}
